package com.xd.core.system.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class UserListVo {
    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "账号状态（0正常1停用)")
    private String status;

    @ApiModelProperty(value = "所在部门")
    private String groupName;

    @ApiModelProperty(value = "角色")
    private String roleName;

    @ApiModelProperty(value = "数据权限类型(1-个人，2-所属及下属部门，3-自定义部门,4-全部)")
    private String dataPertType;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "创建人的用户id")
    private Integer createBy;

}
